package safeCommitter.core.view.action.relaunch;

import org.eclipse.jdt.internal.ui.viewsupport.ImageImageDescriptor;

import safeCommitter.core.view.main.SCReportContentProvider;
import safeCommitter.core.view.main.SCViewUtils;

public class DebugAction extends RelaunchAction {

	public DebugAction(SCReportContentProvider reportProvider) {
		super(reportProvider);
	}

	@Override
	protected void buildMenu() {
		setImageDescriptor(new ImageImageDescriptor(SCViewUtils
				.createImage("icons/debug.gif")));
		setToolTipText("Debug");
		setText("Debug");
	}

	@Override
	protected Boolean isDebug() {
		return true;
	}

}
